package com.party.alipay;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @author Caizhf
 * @date 2017年7月27日上午12:40:25
 * @version v.0.1
 * @email 1115054416@qq.com 
 *
 * <p>Description: 支付宝异步传输对象(本站所需要的)</p>
 *
 */
public class AlipayNotifyDTO {
	private String out_trade_no; 	//本站流水账订单号
	private String trade_no;		//支付宝交易单号
	private String trade_status;	//交易状态
	private String buyer_logon_id;	//所交易的支付宝账号(买家)
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date gmt_payment;		//交易付款时间
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date gmt_refund;		// 交易退款时间
	private Double total_amount;	//订单金额
	
	public String getOut_trade_no() {
		return out_trade_no;
	}
	public void setOut_trade_no(String out_trade_no) {
		this.out_trade_no = out_trade_no;
	}
	public String getTrade_no() {
		return trade_no;
	}
	public void setTrade_no(String trade_no) {
		this.trade_no = trade_no;
	}
	public String getTrade_status() {
		return trade_status;
	}
	public void setTrade_status(String trade_status) {
		this.trade_status = trade_status;
	}
	public String getBuyer_logon_id() {
		return buyer_logon_id;
	}
	public void setBuyer_logon_id(String buyer_logon_id) {
		this.buyer_logon_id = buyer_logon_id;
	}
	public Date getGmt_payment() {
		return gmt_payment;
	}
	public void setGmt_payment(Date gmt_payment) {
		this.gmt_payment = gmt_payment;
	}
	public Date getGmt_refund() {
		return gmt_refund;
	}
	public void setGmt_refund(Date gmt_refund) {
		this.gmt_refund = gmt_refund;
	}
	public Double getTotal_amount() {
		return total_amount;
	}
	public void setTotal_amount(Double total_amount) {
		this.total_amount = total_amount;
	}
	
	
}
